package com.uml.umlwork.dto.course.select;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * @author Zhu
 * @date 2020/1/4
 */
@ApiModel("获取开课课程DTO")
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class GetOpenCourseDTO {
    @ApiModelProperty("年")
    @NotNull(message = "年份不能为空")
    private String year;

    @ApiModelProperty("季节")
    @NotNull(message = "季节不能为空")
    private String season;
}
